package com.example.smart_campus.dao;

import com.example.smart_campus.pojo.entity.Students;
import com.example.smart_campus.pojo.entity.Teachers;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 教师表，存储教师的基本信息 Mapper 接口
 * </p>
 *
 * @author liyv
 * @since 2024-10-19
 */
@Mapper
public interface TeachersMapper extends MPJBaseMapper<Teachers> {
    /**
     * 批量插入
     *
     * @param teachers 实体列表
     * @return 影响行数
     */
    Integer insertBatchSomeColumn(List<Teachers> teachers);

}
